package com.yamanyar.weebill.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.yamanyar.weebill.domain.ActionPathElement;

/**
 * Services for ActionPathElement. These services uses data access objects for
 * persistence operations or any kind of calculation that might be needed.
 * Created in Jun 28, 2008.
 * 
 * @author Kaan Yamanyar
 */
public interface ActionPathElementService {

	/**
	 * Persists the given action.
	 * @param action
	 */
	@Transactional
	public void createNew(ActionPathElement action);

	/**
	 * Lists all the actions.
	 * @return
	 */
	public List<ActionPathElement> findAll();

}
